﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.Member.My.Profile.Teaching" %>
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">

				<!--content strat-->
				<div id="MessagesBox" class="DisplayNone" style="display:none">
					<div class="MessagePanel4">
						<img id="MessageImg" src="/images/ico_info.gif" style="border-width: 0px;" alt=""/>
						<div id="MessageText"></div>
					</div>
				</div>
				<div class="title">
					<h1><%=GetText("ST133")%></h1>
				</div>
				<div>
					<ul class="sort_sel">
						<li class="unselATags first"><span><a href="/my/profile/personal.htm"><%=GetText("ST047")%></a></span></li>
						<li class="unselATags"><span><a href="/my/profile/language.htm"><%=GetText("ST000")%></a></span></li>
						<li class="selATags"><span><a href="/my/profile/teaching.htm"><%=GetText("ST133")%></a></span></li>
						<li class="unselATags"><span><a href="/my/profile/mycontact.htm"><%=GetText("ST030")%></a></span></li>
						<li class="unselATags"><span><a href="/my/profile/myphoto.htm"><%=GetText("ST195")%></a></span></li>
					</ul>
					<div class="clear"></div>
				</div>
				<div class="Center9001n">
					<div class="Center9001Common">
						<div class="Center9001Content">
							<!--Stand content start-->
							<div class="setting_area">
								<h3><%=GetText("ST133")%></h3>
								<div class="margin20D">
								<div class="common_alert"><img src="/Images/icon_common_flag.gif" align="absmiddle" /> If you want to change your teacher type, please email us first.</div>								
									<ul class="formlist">
										<li>
											<div class="item"><%=GetText("TP002")%></div>
											<div class="op"><%=(ULB.TeacherType=="2"?GetText("TP004"):GetText("TP003")) %></div><div class="clear"></div>
										</li>
										<li>
											<div class="item"><%=GetText("TP005")%></div>
											<div class="op"><div id="sl1">
													<select id="TLang1" class="select allhalf" ><option value=""><%=GetText("C0061")%>...</option><%=GetLanguageSelect(ULB.TLang1) %></select>
													<input type="checkbox" id="T1Le0" value="1" <%=(ULB.TLang1Level.IndexOf("1")>-1?"checked=\"checked\"":"") %>/><label for="T1Le0"><%=GetText("C0019")%> </label>
													<input type="checkbox" id="T1Le1" value="2" <%=(ULB.TLang1Level.IndexOf("2")>-1?"checked=\"checked\"":"") %>/><label for="T1Le1"><%=GetText("C0020")%> </label>
													<input type="checkbox" id="T1Le2" value="3" <%=(ULB.TLang1Level.IndexOf("3")>-1?"checked=\"checked\"":"") %>/><label for="T1Le2"><%=GetText("C0021")%> </label>
													<input type="checkbox" id="T1Le3" value="4" <%=(ULB.TLang1Level.IndexOf("4")>-1?"checked=\"checked\"":"") %>/><label for="T1Le3"><%=GetText("C0022")%></label>
													<span name="__V_S" vt="0" elt1="TLang1" reg=".{1,50}" style="color: Red;display:none" class="validMsg"><%=GetText("TP314")%></span>													
												</div>
												<div style="<%=ULB.TLang2==""?"display:none":"" %>" id="sl2" class="margin15T">
													<select id="TLang2" class="select allhalf" ><option value=""><%=GetText("C0061")%>...</option><%=GetLanguageSelect(ULB.TLang2)%></select>
													<input type="checkbox" id="T2Le0" value="1" <%=(ULB.TLang2Level.IndexOf("1")>-1?"checked=\"checked\"":"") %>/><label for="T2Le0"><%=GetText("C0019")%> </label>
													<input type="checkbox" id="T2Le1" value="2" <%=(ULB.TLang2Level.IndexOf("2")>-1?"checked=\"checked\"":"") %>/><label for="T2Le1"><%=GetText("C0020")%>	</label>
													<input type="checkbox" id="T2Le2" value="3" <%=(ULB.TLang2Level.IndexOf("3")>-1?"checked=\"checked\"":"") %>/><label for="T2Le2"><%=GetText("C0021")%> </label>
													<input type="checkbox" id="T2Le3" value="4" <%=(ULB.TLang2Level.IndexOf("4")>-1?"checked=\"checked\"":"") %>/><label for="T2Le3"><%=GetText("C0022")%> </label>
													&nbsp;&nbsp;<a href="javascript:void(0);" onclick="Del(2,4)"><%=GetText("C0049")%></a>													
												</div>
												<div id="sl3" style="<%=ULB.TLang3==""?"display:none":"" %>" class="margin15T">
													<select id="TLang3" class="select allhalf" ><option value=""><%=GetText("C0061")%>...</option><%=GetLanguageSelect(ULB.TLang3)%></select>
													<input type="checkbox" id="T3Le0" value="1" <%=(ULB.TLang3Level.IndexOf("1")>-1?"checked=\"checked\"":"") %>/><label for="T3Le0"><%=GetText("C0019")%> </label>
													<input type="checkbox" id="T3Le1" value="2" <%=(ULB.TLang3Level.IndexOf("2")>-1?"checked=\"checked\"":"") %>/><label for="T3Le1"><%=GetText("C0020")%>	</label>
													<input type="checkbox" id="T3Le2" value="3" <%=(ULB.TLang3Level.IndexOf("3")>-1?"checked=\"checked\"":"") %>/><label for="T3Le2"><%=GetText("C0021")%> </label>
													<input type="checkbox" id="T3Le3" value="4" <%=(ULB.TLang3Level.IndexOf("4")>-1?"checked=\"checked\"":"") %>/><label for="T3Le3"><%=GetText("C0022")%>  </label>
													&nbsp;&nbsp;<a href="javascript:void(0);" onclick="Del(3,4)"><%=GetText("C0049")%></a>													
												</div>
												<div id="sl4" style="<%=ULB.TLang4==""?"display:none":"" %>" class="margin15T">
													<select id="TLang4" class="select allhalf" ><option value=""><%=GetText("C0061")%>...</option><%=GetLanguageSelect(ULB.TLang4)%></select>
													<input type="checkbox" id="T4Le0" value="1" <%=(ULB.TLang4Level.IndexOf("1")>-1?"checked=\"checked\"":"") %>/><label for="T4Le0"><%=GetText("C0019")%> </label>
													<input type="checkbox" id="T4Le1" value="2" <%=(ULB.TLang4Level.IndexOf("2")>-1?"checked=\"checked\"":"") %>/><label for="T2Le1"><%=GetText("C0020")%>	</label>
													<input type="checkbox" id="T4Le2" value="3" <%=(ULB.TLang4Level.IndexOf("3")>-1?"checked=\"checked\"":"") %>/><label for="T4Le2"><%=GetText("C0021")%> </label>
													<input type="checkbox" id="T4Le3" value="4" <%=(ULB.TLang4Level.IndexOf("4")>-1?"checked=\"checked\"":"") %>/><label for="T4Le3"><%=GetText("C0022")%> </label>
													&nbsp;&nbsp;<a href="javascript:void(0);" onclick="Del(4,4)"><%=GetText("C0049")%></a>
												</div>
												<div id="TLanShow" style="display:<%=(ULB.TLang1!=""&&ULB.TLang2!=""&&ULB.TLang3!=""&&ULB.TLang4!="")?"none":"" %>">
													<a href="javascript:void(0);" onclick="Show(4)" ><%=GetText("TP101")%></a><br />
												</div></div><div class="clear"></div>
										</li>
										<li>
											<div class="item"><%=GetText("TP007")%></div>
											<div class="op"><label><input type="text" id="tYears" class="text allhalf" value="<%=ULB.TeachExper %>" /></label> <%=GetText("TP025")%><span name="__V_S" vt="0" elt1="tYears" reg="^[0-9]{1,6}" style="color: Red;display:none" class="validMsg"><%=GetText("TP301")%></span></div><div class="clear"></div>
										</li>
										<li>
											<div class="item"><%=GetText("TP008")%></div>
											<div class="op"><label><input type="text" id="tPrice" class="text allhalf" value="<%=(int)ULB.Price%>"/></label> <%=GetText("TP016")%><span name="__V_S" vt="0" elt1="tPrice" reg="^[0-9]{1,6}" style="color: Red;display:none" class="validMsg"><%=GetText("TP302")%></span></div><div class="clear"></div>
										</li>
										<li>
											<div class="item"><%=GetText("TP009")%></div>
											<div class="op"><table width="300" border="0" cellspacing="0" cellpadding="0"><tr><td><input type="radio" id="RFreeTrial1" name="RFreeTrial" <%=(ULB.FreeTrial?"checked=\"checked\"":"") %>/><label for="RFreeTrial1"><%=GetText("C0069")%></label></td>
														<td><input type="radio" id="RFreeTrial2" name="RFreeTrial" <%=(ULB.FreeTrial==false?"checked=\"checked\"":"") %> /><label for="RFreeTria2"><%=GetText("C0070")%></label></td></tr></table></div><div class="clear"></div>
										</li>
										<li>
										    <div class="item"><%=GetText("TP204")%> <span class="grey12">(<%=GetText("C0043")%>)</span></div>
											<div class="op"><label><input type="text" id="VideoID" value="<%=ULB.VideoCode %>" class="common220" /></label></div><div class="clear"></div>
										</li>
										<li>
											<div class="item">&nbsp;</div>
											<div class="op"><input id="btnSave" class="button" value="<%=GetText("C0055")%>"  type="button" onclick="SaveLan()"/>&nbsp;&nbsp;<input id="Button1" type="button" class="buttong" value="<%=GetText("C0056")%>" onClick="javascript:top.location.reload();"/></div><div class="clear"></div>
										</li>
									</ul>
								</div>
							</div>
						</div>
					</div>

				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>
<script>
var MessageTextS="<%=GetText("C1002")%>";
var MessageTextF="<%=GetText("C1006")%>"; 
var MessageImageS = "/images/ico_info.gif";
var MessageImageF = "/images/ico_info.gif";
</script>